package com.tongzhou.tongzhou.link.dao;

import java.util.List;

import com.tongzhou.db.exception.DBException;
import com.tongzhou.tongzhou.link.model.ProductSchedule;
import com.tongzhou.tongzhou.link.model.SearchProductScheduleCondition;

public interface IProductScheduleDAO {
	public List<ProductSchedule> listProductSchedule(SearchProductScheduleCondition condition) throws DBException;
	public int addProductSchedule(ProductSchedule productSchedule) throws DBException;
	public void deleteProductSchedule(int id) throws DBException;
	public ProductSchedule getProductScheduleById(int id) throws DBException;
	public void updateProductSchedule(ProductSchedule productSchedule) throws DBException;
	
	public ProductSchedule getProductScheduleByTime(String time) throws DBException;
}
